﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsFormsApplication1
{
    public class myRGB
    {
         public myRGB()
        {
            R = 0;
            G = 0;
            B = 0;
        }
        public myRGB(int _R, int _G, int _B)
        {
           
            R = _R;
            G = _G;
            B = _B;
        }
        public myRGB(string _R, string _G, string _B)
        {
            if (_R == "")
                _R = "0";
            if (_G == "")
                _G = "0";
            if (_B == "")
                _B = "0";
            R = Int32.Parse(_R);
            G = Int32.Parse(_G);
            B = Int32.Parse(_B);
        }
        public int R, G, B;
    }
}
